package com.sgb.kjwl.model.entity.lease;

import java.io.Serializable;
import java.util.List;

/**
 * 租赁-接单参数
 */
public class LeaseOrderReceiveEntity implements Serializable {

    private ApprovalBean approval;
    private String orderNo;
    private String rentalTotalPrice;//总租金（不含运费）
    private String newRentalPrice;//改价收的单价
    private String transportPrice;    //运输费（默认0）
    private String newDriverProvider;//(改价)是否提供驾驶员 1求租方（不含） 2 出租方（含）
    private String newNeedInvoice;//(改价)是否含税,0否，1是
    private String orderType;//1机械，2 设备

    public static class ApprovalBean {

        private String approvalCompanyName;//公司名
        private String approvalDepartmentName;//部门名称
        private String approvalDepartmentNo;//部门no
        private String approvalMatter;//申请事由
        private String approvalTime;//申请时间（时间戳））
        private String approvalUserName;//申请人
        private String orderNo;//订单号
        private String remarks;//备注信息 没有传空字符
        private List<ParamBean> extra;//自定义参数

        public String getApprovalCompanyName() {
            return approvalCompanyName;
        }

        public void setApprovalCompanyName(String approvalCompanyName) {
            this.approvalCompanyName = approvalCompanyName;
        }

        public String getApprovalDepartmentName() {
            return approvalDepartmentName;
        }

        public void setApprovalDepartmentName(String approvalDepartmentName) {
            this.approvalDepartmentName = approvalDepartmentName;
        }

        public String getApprovalDepartmentNo() {
            return approvalDepartmentNo;
        }

        public void setApprovalDepartmentNo(String approvalDepartmentNo) {
            this.approvalDepartmentNo = approvalDepartmentNo;
        }

        public String getApprovalMatter() {
            return approvalMatter;
        }

        public void setApprovalMatter(String approvalMatter) {
            this.approvalMatter = approvalMatter;
        }

        public String getApprovalTime() {
            return approvalTime;
        }

        public void setApprovalTime(String approvalTime) {
            this.approvalTime = approvalTime;
        }

        public String getApprovalUserName() {
            return approvalUserName;
        }

        public void setApprovalUserName(String approvalUserName) {
            this.approvalUserName = approvalUserName;
        }

        public String getOrderNo() {
            return orderNo;
        }

        public void setOrderNo(String orderNo) {
            this.orderNo = orderNo;
        }

        public String getRemarks() {
            return remarks;
        }

        public void setRemarks(String remarks) {
            this.remarks = remarks;
        }

        public List<ParamBean> getExtra() {
            return extra;
        }

        public void setExtra(List<ParamBean> extra) {
            this.extra = extra;
        }

    }

    public ApprovalBean getApproval() {
        return approval;
    }

    public void setApproval(ApprovalBean approval) {
        this.approval = approval;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public String getRentalTotalPrice() {
        return rentalTotalPrice;
    }

    public void setRentalTotalPrice(String rentalTotalPrice) {
        this.rentalTotalPrice = rentalTotalPrice;
    }

    public String getNewRentalPrice() {
        return newRentalPrice;
    }

    public void setNewRentalPrice(String newRentalPrice) {
        this.newRentalPrice = newRentalPrice;
    }

    public String getTransportPrice() {
        return transportPrice;
    }

    public void setTransportPrice(String transportPrice) {
        this.transportPrice = transportPrice;
    }

    public String getNewDriverProvider() {
        return newDriverProvider;
    }

    public void setNewDriverProvider(String newDriverProvider) {
        this.newDriverProvider = newDriverProvider;
    }

    public String getNewNeedInvoice() {
        return newNeedInvoice;
    }

    public void setNewNeedInvoice(String newNeedInvoice) {
        this.newNeedInvoice = newNeedInvoice;
    }

    public String getOrderType() {
        return orderType;
    }

    public void setOrderType(String orderType) {
        this.orderType = orderType;
    }

    public static class ParamBean {
        /**
         * [{title: "自定义", content: "1111"}, {title: "自定义二", content: "222"}]
         */
        private String content;//内容
        private String title; //标题

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }
    }
}
